/**
 * Created by IntelliJ IDEA.
 * User: ReZzZ
 * Date: 07 Apr 11
 * Time: 12:13:46
 * To change this template use File | Settings | File Templates.
 */
import java.io.*;

public class GetUserInput {
    public static String getUserChoice (String subMenu) {
       System.out.print(subMenu);
       BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
       String name = null;
       try {
         name = br.readLine();
         if (name.length() == 0) return null;
         
       } catch (IOException e) {
         System.out.println("Error!");
       }
      return name;
}
}